package config

import (
	"go-canal/utils/database"
	"go-canal/utils/kafka"
	"go-canal/utils/logger"
	"go-canal/utils/redis"
)

type Config struct {
	Mysql      database.Options `yaml:"Mysql"`
	Redis      redis.Options    `yaml:"Redis"`
	CanalKafka kafka.Options    `yaml:"Kafka"`
	LogOption  logger.LogOption `yaml:"LogOption"`
	Env        string           `yaml:"Env"`
	Webhook    string           `yaml:"Webhook"`
}
